﻿/*-------------------------------------------------------------------------
 * 版权所有：	黑客马拉松
 * 作者：		罗毅
 * 联系方式：	whluoyi@gmail.com
 * 创建时间：	2016/10/29 11:23:16
 * 版本号：		v1.0
 * 用途描述：	实体SuperMarieApi. 
 *  -------------------------------------------------------------------------*/

namespace SuperMarieApi.App.Controllers.Model
{
    using System;
    using System.Data;

    using SuperMarieApi.App.Controllers.Framework.DataAccess;

    [Serializable()]
    public class RootEntity
    {
        private int _TotalCount = 0;
        private int _pageSize = 0;
        private int _pageIndex = 0;


        private String _LayerPath = null;

        /// <summary> 
        ///  总数
        /// </summary> 
        [DataMapping("TotalCount", DbType.Int32)]
        public int TotalCount
        {
            get { return this._TotalCount; }
            set { this._TotalCount = value; }
        }



        /// <summary> 
        ///  页大小
        /// </summary> 
        [DataMapping("PageSize", DbType.Int32)]
        public int PageSize
        {
            get { return this._pageSize; }
            set { this._pageSize = value; }
        }



        /// <summary> 
        ///  当前页
        /// </summary> 
        [DataMapping("PageIndex", DbType.String)]
        public int PageIndex
        {
            get { return this._pageIndex; }
            set { this._pageIndex = value; }
        }


        /// <summary> 
        /// 图层路径 包含 /年月/日/小时/文件名 
        /// </summary> 
        [DataMapping("LayerPath", DbType.String)]
        public String LayerPath
        {
            get { return this._LayerPath; }
            set { this._LayerPath = value; }
        }
    }
}
